cmake_minimum_required(VERSION 2.8.12)

project(seq_sdk LANGUAGES C CXX)


add_library(seq_uhp SHARED
    seq_sdk.cpp
    IDL_uhp_response.dsc.c
)

add_executable( seq_uhp_test
    main.cpp
)


target_link_libraries(seq_uhp_test PRIVATE seq_uhp uhp_mysql pthread)
target_link_libraries(seq_uhp PRIVATE uhp_util )

install(TARGETS seq_uhp DESTINATION lib)
install(TARGETS seq_uhp_test DESTINATION bin)